package Student;

public class Test {
    public static void main(String[] args) {
        Student stu1 = new Student();
        System.out.println(stu1.getName());
        Student.teacher = "hahaha";
        Student stu2 = new Student();
        stu1.ShowStudent();
        stu2.ShowStudent();
        stu1.setAge(10);
        stu2.setAge(100);
        Student [] stu = new Student[3];
        stu[0] = stu1;
        stu[1] = stu2;
        Student stu3 = new Student();
        stu3.setAge(1);
        stu[2] = stu3;
        int max = StudentUtil.getMaxAgeStudent(stu);
        System.out.println(max);

    }
}
